package com.xs.designpattern;

import lombok.RequiredArgsConstructor;

/**
 * @author xs
 */
@RequiredArgsConstructor
public enum WeaponType {

    /**
     * 武器的类别
     */
    SHORT_SWORD("短剑"), SPEAR("矛"), AXE("斧头"), UNDEFINED("武器类别不存在");

    private final String title;

    @Override
    public String toString() {
        return title;
    }
}
